package com.skhu.as.service;

import java.util.List;

import com.skhu.as.dao.RequestTypeD;
import com.skhu.as.domain.RequestType;

public class RequestTypeS {

	private RequestTypeD requestTypeD;

	public void setRequestTypeD(RequestTypeD requestTypeD) {
		this.requestTypeD = requestTypeD;
	}
	
	public List<RequestType> getRequestTypeList(){
		return requestTypeD.getRequestTypeList();
	}
	
	public int deleteAllRequestType(){
		return requestTypeD.deleteAllRequestType();
	}
	
	public int getRequestTypeMaxNo(){
		return requestTypeD.getRequestTypeMaxNo();
	}
	
	public int insertRequestType(int requestTypeMaxNo, String requestTypeString){
		return requestTypeD.insertRequestType(requestTypeMaxNo, requestTypeString);
	}
	
}
